package com.koron.css2.newProjectCenter.bean.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.bean.query.BaseQueryBean;
import com.koron.css2.newProjectCenter.bean.EnterOrOutMaterialBean;
import com.koron.css2.newProjectCenter.bean.PjPubUpOut;

import java.util.Date;
import java.util.List;

/**
 * @Author: 苏小龙
 * @CreateTime: 2024-12-04
 * @Description: 材料单据表
 * @Version: 1.0
 */
public class PjpubMaterialDocumentQuery extends BaseQueryBean {

    private String id;
    /**
     * 单据编号
     */
    private String docNum;
    /**
     * 单据类型
     */
    private String docType;
    /**
     * 单据类别 1出库 2入库
     */
    private Integer docCategory;

    /**
     * 材料仓库
     */
    private String warehouse;
    /**
     * 库管id
     */
    private String warehouseOperator;

    /**
     * 库管名称
     */
    private String warehouseOperatorName;
    /**
     * 经办人
     */
    private String handler;

    /**
     * 经办人
     */
    private String handlerName;
    /**
     * 经办时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date handlerDate;
    /**
     * 操作员id
     */
    private String operatorAccount;
    /**
     * 操作员
     */
    private String operatorName;
    /**
     * 备注
     */
    private String comments;
    /**
     * 排序
     */
    private Integer sortNo;
    /**
     * 排序
     */
    private String status;
    private String tenantId;
    /**
     * 创建账号
     */
    private String createAccount;
    private String createTime;
    private String createName;
    private String updateTime;
    /**
     * 更新账号
     */
    private String updateAccount;
    private String updateName;


    /*流程实例ID */
    private String processInstanceId;

    /*流程节点名称 */
    private String processName;
    /*流程状态  draft 或者 null 为草稿状态, end 为流程结束*/
    private String processState;


    /**
     * 是否删除  1已删除 0未删除
     */
    private Integer isDeleted;
    /* 1 select  2 creat  4update  3 delect*/
    private Integer toDo;

    /**
     * 入库材料
     */
    private List<EnterOrOutMaterialBean> enterOrOutMaterialList;
    /**
     * 出库材料
     */
    private List<PjPubUpOut> pubUpOutList;


    /**
     * 领料失效日期
     */
    private String pickExpiryTime;


    /**
     * 领料人
     */
    private String picker;


    /**
     * 报装编号（非必填）
     */
    private String declarationNumber;

    public List<EnterOrOutMaterialBean> getEnterOrOutMaterialList() {
        return enterOrOutMaterialList;
    }

    public void setEnterOrOutMaterialList(List<EnterOrOutMaterialBean> enterOrOutMaterialList) {
        this.enterOrOutMaterialList = enterOrOutMaterialList;
    }

    public String getPickExpiryTime() {
        return pickExpiryTime;
    }

    public void setPickExpiryTime(String pickExpiryTime) {
        this.pickExpiryTime = pickExpiryTime;
    }

    public String getPicker() {
        return picker;
    }

    public void setPicker(String picker) {
        this.picker = picker;
    }

    public String getDeclarationNumber() {
        return declarationNumber;
    }

    public void setDeclarationNumber(String declarationNumber) {
        this.declarationNumber = declarationNumber;
    }

    public Integer getToDo() {
        return toDo;
    }

    public void setToDo(Integer toDo) {
        this.toDo = toDo;
    }

    public List<PjPubUpOut> getPubUpOutList() {
        return pubUpOutList;
    }

    public void setPubUpOutList(List<PjPubUpOut> pubUpOutList) {
        this.pubUpOutList = pubUpOutList;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public String getProcessInstanceId() {
        return processInstanceId;
    }

    public void setProcessInstanceId(String processInstanceId) {
        this.processInstanceId = processInstanceId;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public String getProcessState() {
        return processState;
    }

    public void setProcessState(String processState) {
        this.processState = processState;
    }

    public String getDocNum() {
        return docNum;
    }

    public void setDocNum(String docNum) {
        this.docNum = docNum;
    }

    public String getDocType() {
        return docType;
    }

    public void setDocType(String docType) {
        this.docType = docType;
    }

    public Integer getDocCategory() {
        return docCategory;
    }

    public void setDocCategory(Integer docCategory) {
        this.docCategory = docCategory;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getWarehouseOperator() {
        return warehouseOperator;
    }

    public void setWarehouseOperator(String warehouseOperator) {
        this.warehouseOperator = warehouseOperator;
    }

    public String getWarehouseOperatorName() {
        return warehouseOperatorName;
    }

    public void setWarehouseOperatorName(String warehouseOperatorName) {
        this.warehouseOperatorName = warehouseOperatorName;
    }

    public String getHandlerName() {
        return handlerName;
    }

    public void setHandlerName(String handlerName) {
        this.handlerName = handlerName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }


    public String getHandler() {
        return handler;
    }

    public void setHandler(String handler) {
        this.handler = handler;
    }

    public Date getHandlerDate() {
        return handlerDate;
    }

    public void setHandlerDate(Date handlerDate) {
        this.handlerDate = handlerDate;
    }

    public String getOperatorAccount() {
        return operatorAccount;
    }

    public void setOperatorAccount(String operatorAccount) {
        this.operatorAccount = operatorAccount;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getCreateAccount() {
        return createAccount;
    }

    public void setCreateAccount(String createAccount) {
        this.createAccount = createAccount;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateAccount() {
        return updateAccount;
    }

    public void setUpdateAccount(String updateAccount) {
        this.updateAccount = updateAccount;
    }

    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
}
